﻿using System;
using System.Collections.Generic;

namespace AspireFyh.ApiService.Entities;

public partial class Role
{
    public long Id { get; set; }

    public DateTime CreateAt { get; set; }

    public DateTime ModifyAt { get; set; }

    public string? Description { get; set; }

    public string? Name { get; set; }

    public long? OrganizationId { get; set; }

    public long? AccountId { get; set; }

    public virtual Account? Account { get; set; }

    public virtual ICollection<AccountRole> AccountRoles { get; set; } = new List<AccountRole>();

    public virtual Organization? Organization { get; set; }

    public virtual ICollection<OrganizationRole> OrganizationRoles { get; set; } = new List<OrganizationRole>();
}
